package com.Spring.service.impl;

import com.Spring.dao.USerDao;
import com.Spring.dao.impl.UserDaoImpl;
import com.Spring.dao.impl.UserDaoMysqlImpl;
import com.Spring.dao.impl.UserDaoOracleImpl;
import com.Spring.service.UserService;

/**
 * @author:liuwei
 * @creatdate:2021-07-10-9:51
 */
public class UserServiceImpl implements UserService {

	private USerDao uSerDao;

	//利用set进行动态实现值的注入
	public void setuSerDao(USerDao uSerDao) {
		this.uSerDao = uSerDao;
	}

	@Override
	public void getUser() {
		uSerDao.getUser();
	}
}
